Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore Bit perfect read/write ability #485

Merged
merged 3 commits into from
Oct 11, 2024
Merged

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Oct 9, 2024

For #484 I removed the dust from my old diff tool used in #242 and noticed that the files differ after a load-save-operation with liblcf.

A few of our custom chunks were set to PersistIfDefault (always write, even when default value), so they were added to all database files processed by liblcf (e.g. lcf2xml).

This didn't damage the files but was a useless addition which increased the filesize.

Now the files are perfect again :) (= a read-write-cycle changes nothing in the files)

Ghabry added 3 commits October 9, 2024 23:58
…her Maniac fields.

Not 100% sure why the value is 0 for all the maniac fields, probably because we support Maniac Patch in RPG2k.
Otherwise this is written into all files manipulated with our tools.

This change restores the bit perfect read/write achieved in EasyRPG#242
@Ghabry Ghabry added this to the 0.8.1 milestone Oct 9, 2024
@fdelapena fdelapena merged commit 268873b into EasyRPG:master Oct 11, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants